package com.tywj.panda.home.buy

import com.tywj.panda.customer.common.entity.CalendarPriceEntity
import com.tywj.panda.customer.common.widget.recyclerview.MyBaseAdapter
import com.tywj.panda.home.R
import com.tywj.lib.core.widget.recycleview.adapter.BaseViewHolder

/**
 * 价格日历
 */
class HomePriceDateAdapter : MyBaseAdapter<CalendarPriceEntity>(R.layout.home_calendar_text_day_item) {

    //局部刷新
    companion object {
        const val UPDATE_TYPE_DETAILS_STATUS = 1
    }

    override fun convert(helper: BaseViewHolder, item: CalendarPriceEntity) {
        super.convert(helper, item)

        helper.setText(R.id.tvCalendarDay, item.lineDate)
        helper.setText(R.id.tvTicketPrice, "")
    }

}